package com.msf.common.domain.query;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel(description = "分页查询条件")
public class PageQuery  implements Serializable {
    private static final long serialVersionUID = 1L;
    public static final Integer DEFAULT_PAGE_SIZE = 20;
    public static final Integer DEFAULT_PAGE_NUM = 1;

    @ApiModelProperty("页码")
    private Integer pageNo = DEFAULT_PAGE_NUM;
    @ApiModelProperty("每页条数")
    private Integer pageSize = DEFAULT_PAGE_SIZE;
    @ApiModelProperty("关键字")
    private String keywords;
}
